package com.wgzx.modbus.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class MbapHeader {
    //事务标识符(2个字节)
    private final int transactionIdentifier;
    //协议标识符(2个字节)
    private final int protocolIdentifier;
    //数据长度(2个字节)
    private final int length;
    //单元标识符(1个字节)
    private final short unitIdentifier;
}
